package com.caipin.domain.excel;

/**
 * @Author: zhunian0322@163.com
 * @DateTime: 2021-10-06 11:25
 * @Description: TODO
 */
public class StrangerWarningExcel {
    private String date;

    private String location;

    private String faceImageUrl;

    private String backgroundImageUrl;

    public com.caipin.domain.excel.StrangerWarningExcel setDate(String date) {
        this.date = date;
        return this;
    }

    public com.caipin.domain.excel.StrangerWarningExcel setLocation(String location) {
        this.location = location;
        return this;
    }

    public com.caipin.domain.excel.StrangerWarningExcel setFaceImageUrl(String faceImageUrl) {
        this.faceImageUrl = faceImageUrl;
        return this;
    }

    public com.caipin.domain.excel.StrangerWarningExcel setBackgroundImageUrl(String backgroundImageUrl) {
        this.backgroundImageUrl = backgroundImageUrl;
        return this;
    }

    public boolean equals(Object o) {
        if (o == this)
            return true;
        if (!(o instanceof com.caipin.domain.excel.StrangerWarningExcel))
            return false;
        com.caipin.domain.excel.StrangerWarningExcel other = (com.caipin.domain.excel.StrangerWarningExcel)o;
        if (!other.canEqual(this))
            return false;
        Object this$date = getDate(), other$date = other.getDate();
        if ((this$date == null) ? (other$date != null) : !this$date.equals(other$date))
            return false;
        Object this$location = getLocation(), other$location = other.getLocation();
        if ((this$location == null) ? (other$location != null) : !this$location.equals(other$location))
            return false;
        Object this$faceImageUrl = getFaceImageUrl(), other$faceImageUrl = other.getFaceImageUrl();
        if ((this$faceImageUrl == null) ? (other$faceImageUrl != null) : !this$faceImageUrl.equals(other$faceImageUrl))
            return false;
        Object this$backgroundImageUrl = getBackgroundImageUrl(), other$backgroundImageUrl = other.getBackgroundImageUrl();
        return !((this$backgroundImageUrl == null) ? (other$backgroundImageUrl != null) : !this$backgroundImageUrl.equals(other$backgroundImageUrl));
    }

    protected boolean canEqual(Object other) {
        return other instanceof com.caipin.domain.excel.StrangerWarningExcel;
    }

    public int hashCode() {
        int PRIME = 59;
        result = 1;
        Object $date = getDate();
        result = result * 59 + (($date == null) ? 43 : $date.hashCode());
        Object $location = getLocation();
        result = result * 59 + (($location == null) ? 43 : $location.hashCode());
        Object $faceImageUrl = getFaceImageUrl();
        result = result * 59 + (($faceImageUrl == null) ? 43 : $faceImageUrl.hashCode());
        Object $backgroundImageUrl = getBackgroundImageUrl();
        return result * 59 + (($backgroundImageUrl == null) ? 43 : $backgroundImageUrl.hashCode());
    }

    public String toString() {
        return "StrangerWarningExcel(date=" + getDate() + ", location=" + getLocation() + ", faceImageUrl=" + getFaceImageUrl() + ", backgroundImageUrl=" + getBackgroundImageUrl() + ")";
    }

    public String getDate() {
        return this.date;
    }

    public String getLocation() {
        return this.location;
    }

    public String getFaceImageUrl() {
        return this.faceImageUrl;
    }

    public String getBackgroundImageUrl() {
        return this.backgroundImageUrl;
    }
}

